package com.hongsheng.service;

/*
@Author：郭振文
@Package：com.hongsheng.service
@File：RoleService
@Date：2023/8/10 23:48
*/

import com.github.pagehelper.PageInfo;
import com.hongsheng.pojo.RA;
import com.hongsheng.pojo.Role;

import java.util.List;

public interface RoleService {

    Boolean insertRole(Role role);

    Boolean deleteRole(Integer id);

    Boolean updateRole(Role role);

    PageInfo<Role> selectRole(Integer currentPage,Integer pageSize,Role role);

    Role selectRoleById(Integer id);

    Boolean insertRoleAuthority(RA ra);

    Boolean deleteRoleAuthority(RA ra);

    List<Role> selectRole1();

    Boolean selectRA(RA ra);


}
